package com.mall.user;

import com.mall.user.dto.*;

/**
 * @author looper
 * @
 **/
public interface IUserService {
    UserLoginResponse userLogin(UserLoginRequest request);

    UserRegisterResponse userRegister(UserRegisterRequest request);

    UserVerifyResponse getVerify(UserVerifyRequest userVerifyRequest);


    /**
     * 拦截器的验证token方法
     * @param checkAuthRequest
     * @return
     */
    CheckAuthResponse validToken(CheckAuthRequest checkAuthRequest);

    UserLoginResponse getUserById(Long userId);
}
